import react;

int main(){
    react::DataSource<int> dr{1};
    react::DataSource<double> dr2{2.0};

    auto e2 = react::make_expr([] (int x, double y){ return x + y; }, dr, dr2);

    std::println("dr: {}, dr2: {}", dr.get(), dr2.get());
    //std::println("e1: {}", e1.get());
    std::println("e2: {}", e2.get());
    auto v = e2.get();

    return 0;
};